/**
 * @param {string} version1
 * @param {string} version2
 * @return {number}
 */
var compareVersion = function (version1, version2) {
  let len = version11.length>version2.length?version1.length:version2.length
  let flag1 = false,flag2 = false

  for (let i = 0; i < len; i++) {
    // if(!version1[i] || !version2[i]){
    //   return res
    // }
    
  }
  console.log(res1);
}

compareVersion('01.010','01.1')
